LED Switch Tool - ActiveX Properties
The LED Switch Tool is an ActiveX control. As such, an LED Switch Tool object has an ActiveX page on the Property Sheet. Many of these properties are the object’s formatting properties. Values for the ActiveX Properties can be set directly on the ActiveX page or in the OCXProperties dialog box, which is accessed by clicking the (OCXProperties) property.
| Property | Description | Related Properties |
|---|---|---|
|
Enables the LED to be illuminated by default. Default is 0 - No. |
||
|
Specifies the color of the object when the value of the object’s point is "on" or illuminated. Default is green (RGB 0.255.0). |
||
|
Enables the object to control its update rate. Default is 0 - No. When set to 1 - Yes, the object is repainted at the rate specified by the UpdateFrameRate property. |
UpdateFrameRate | |
|
Enables the LED to be automatically sized within the object boundary. Specifies whether the IndicatorHeight or IndicatorWidth is automatically calculated depending on the IndicatorAlignment. |
IndicatorHeight | |
|
Specifies the color of the object background. Default is gray (RGB 236.233.216). The background color is not shown if the Transparent property is set to 1 — Yes. |
[AlarmElement] | |
|
Specifies the color of the border highlight of the object. Default is white (RGB 255.255.255). |
||
|
Specifies the shadow color of the object’s border. Default is white (RGB 255.255.255). |
||
|
Specifies the size of the border (in pixels) of the object. Default is 2. |
||
|
Specifies the border style of the object. Default is 0 - ibsNone. Other options are 1 - ibsRaised and 2 - ibsLowered. |
||
|
Caption specifies caption text in the following objects:
|
[DisplayItem] | |
|
Specifies the alignment of the caption in regards to the LED. Default is 0 - islcalndicator, which means that the caption is adjacent to the LED. Other option is 1 - islcaOppositeSide. |
||
|
Specifies the font for the caption. Default is MS Sans Serif (8 point). |
||
|
Specifies the color of the caption. Default is black (RGB 0.0.0). |
||
|
Specifies the size of the margin (in pixels) between the caption and the LED. Default is 6. |
||
|
Enables user interaction with the object. If set to 0 - No, the object is still shown but its context menu is disabled. Default is 1 - Yes. |
||
|
Specifies the bitmap shown in place of the LED. Supported file formats are bitmaps (.cur, .ico, .bmp, .dib). Note: Although Windows Metafile (.wmf) is listed as a format option, this file format is not supported. |
||
|
Specifies the height (in pixels) of the object. |
||
|
Specifies the alignment of the LED indicator on the switch plate. Default is 0 - isaBottom. Other options are 1 - isaTop, 2 - isaLeft, and 3 - isaRight. |
||
|
Specifies the height (in pixels) of the LED indicator. Default is 8. |
||
|
Specifies the margin (in pixels) between the LED indicator and the switch border. Default is 5. |
||
|
Specifies the width (in pixels) of the LED indicator. Default is 10. |
||
|
Enables the SaveAllPropertiesToFile method to save just the ActiveX Properties or all object properties. Default is 0 - No, which means that only ActiveX Properties are saved. |
||
|
Enables display of the focus rectangle. |
Tabstop | |
|
Specifies the rate (in seconds) of repainting the object. Default is 60. Applicable only when AutoFrameRate is enabled. |
AutoFrameRate | |
|
Enables the visibility of the object on TheView. Default is 1 - Yes. |
||
|
Specifies the width (in pixels) of the object. |
||
|
Enables wrapping of the caption. Default is 0 - No. When set to 1 - Yes, the caption is aligned at the top of the object. |


